/**
 * com.cnhis.his.customer.mapper.Bdt1.java
 */
package com.mbmed.doctor.medadvice.mapper;

import javax.xml.bind.annotation.XmlRootElement;

import com.mbmed.doctor.commons.utils.BaseVO;

/**
 * @file  Bdt1.java
 * @author 刘武
 * @version 0.1
 * @todo	Bdt1数据值
 * Copyright(C), 2013-2014
 *		 Shenzhen Coordinates Software Development Co., Ltd.
 * History
 *   	1. Date: 2014-12-15 06:46:06
 *      	Author: 刘武
 *      	Modification: this file was created
 *   	2. ...
 */
@XmlRootElement
public class Bdt1 extends BaseVO implements java.io.Serializable{

	private java.lang.Integer bdt01;
	private java.lang.Integer bbx01a;
	private java.lang.Integer bdt03;
	private java.lang.Integer bbx01b;
	private java.lang.String bdi01;
	private java.math.BigDecimal bdt06;
	private java.math.BigDecimal bdt07;
	private java.lang.String bdt08;
	private java.lang.Integer bdt09;
	private java.math.BigDecimal bdt10;
	
	private java.lang.String bda01;
	private java.lang.String bbx29;
	private java.lang.String bbx05;
	
	
	
	
	public java.lang.String getBbx05() {
		return bbx05;
	}

	public void setBbx05(java.lang.String bbx05) {
		this.bbx05 = bbx05;
	}

	public java.lang.String getBda01() {
		return bda01;
	}

	public void setBda01(java.lang.String bda01) {
		this.bda01 = bda01;
	}

	public java.lang.String getBbx29() {
		return bbx29;
	}

	public void setBbx29(java.lang.String bbx29) {
		this.bbx29 = bbx29;
	}

	public Bdt1(){
	}

	public Bdt1(
		java.lang.Integer bdt01
	){
		this.bdt01 = bdt01;
	}



	public void setBdt01(java.lang.Integer value) {
		this.bdt01 = value;
	}	
	public java.lang.Integer getBdt01() {
		return this.bdt01;
	}

	public void setBbx01a(java.lang.Integer value) {
		this.bbx01a = value;
	}	
	public java.lang.Integer getBbx01a() {
		return this.bbx01a;
	}

	public void setBdt03(java.lang.Integer value) {
		this.bdt03 = value;
	}	
	public java.lang.Integer getBdt03() {
		return this.bdt03;
	}

	public void setBbx01b(java.lang.Integer value) {
		this.bbx01b = value;
	}	
	public java.lang.Integer getBbx01b() {
		return this.bbx01b;
	}

	public void setBdi01(java.lang.String value) {
		this.bdi01 = value;
	}	
	public java.lang.String getBdi01() {
		return this.bdi01;
	}

	public void setBdt06(java.math.BigDecimal value) {
		this.bdt06 = value;
	}	
	public java.math.BigDecimal getBdt06() {
		return this.bdt06;
	}

	public void setBdt07(java.math.BigDecimal value) {
		this.bdt07 = value;
	}	
	public java.math.BigDecimal getBdt07() {
		return this.bdt07;
	}

	public void setBdt08(java.lang.String value) {
		this.bdt08 = value;
	}	
	public java.lang.String getBdt08() {
		return this.bdt08;
	}

	public void setBdt09(java.lang.Integer value) {
		this.bdt09 = value;
	}	
	public java.lang.Integer getBdt09() {
		return this.bdt09;
	}

	public void setBdt10(java.math.BigDecimal value) {
		this.bdt10 = value;
	}	
	public java.math.BigDecimal getBdt10() {
		return this.bdt10;
	}


    public String toString() {
		  StringBuffer buffer = new StringBuffer();
		  buffer.append(getClass().getName()).append("@").append(Integer.toHexString(hashCode())).append(" [");	
			   buffer.append("Bdt01").append("='").append(getBdt01()).append("' ");	
			   buffer.append("Bbx01a").append("='").append(getBbx01a()).append("' ");	
			   buffer.append("Bdt03").append("='").append(getBdt03()).append("' ");	
			   buffer.append("Bbx01b").append("='").append(getBbx01b()).append("' ");	
			   buffer.append("Bdi01").append("='").append(getBdi01()).append("' ");	
			   buffer.append("Bdt06").append("='").append(getBdt06()).append("' ");	
			   buffer.append("Bdt07").append("='").append(getBdt07()).append("' ");	
			   buffer.append("Bdt08").append("='").append(getBdt08()).append("' ");	
			   buffer.append("Bdt09").append("='").append(getBdt09()).append("' ");	
			   buffer.append("Bdt10").append("='").append(getBdt10()).append("' ");	
		  buffer.append("]");
		  return buffer.toString();
	}		

	public boolean equals(Object other) {
         if ( (this == other ) ) return true;
		 if ( (other == null ) ) return false;
		 if ( !(other instanceof Bdt1) ) return false;
		 Bdt1  castOther = ( Bdt1) other;  
		 return 
					( (this.getBdt01()==castOther.getBdt01()) ||( this.getBdt01()!=null && castOther.getBdt01()!=null && this.getBdt01().equals(castOther.getBdt01()) ) )
					&&( (this.getBbx01a()==castOther.getBbx01a()) ||( this.getBbx01a()!=null && castOther.getBbx01a()!=null && this.getBbx01a().equals(castOther.getBbx01a()) ) )
					&&( (this.getBdt03()==castOther.getBdt03()) ||( this.getBdt03()!=null && castOther.getBdt03()!=null && this.getBdt03().equals(castOther.getBdt03()) ) )
					&&( (this.getBbx01b()==castOther.getBbx01b()) ||( this.getBbx01b()!=null && castOther.getBbx01b()!=null && this.getBbx01b().equals(castOther.getBbx01b()) ) )
					&&( (this.getBdi01()==castOther.getBdi01()) ||( this.getBdi01()!=null && castOther.getBdi01()!=null && this.getBdi01().equals(castOther.getBdi01()) ) )
					&&( (this.getBdt06()==castOther.getBdt06()) ||( this.getBdt06()!=null && castOther.getBdt06()!=null && this.getBdt06().equals(castOther.getBdt06()) ) )
					&&( (this.getBdt07()==castOther.getBdt07()) ||( this.getBdt07()!=null && castOther.getBdt07()!=null && this.getBdt07().equals(castOther.getBdt07()) ) )
					&&( (this.getBdt08()==castOther.getBdt08()) ||( this.getBdt08()!=null && castOther.getBdt08()!=null && this.getBdt08().equals(castOther.getBdt08()) ) )
					&&( (this.getBdt09()==castOther.getBdt09()) ||( this.getBdt09()!=null && castOther.getBdt09()!=null && this.getBdt09().equals(castOther.getBdt09()) ) )
					&&( (this.getBdt10()==castOther.getBdt10()) ||( this.getBdt10()!=null && castOther.getBdt10()!=null && this.getBdt10().equals(castOther.getBdt10()) ) )
			;
    }

	public int hashCode() {
         int result = 17;
				  result = 37 * result + (getBdt01() == null ? 0 : this.getBdt01().hashCode() );
				  result = 37 * result + (getBbx01a() == null ? 0 : this.getBbx01a().hashCode() );
				  result = 37 * result + (getBdt03() == null ? 0 : this.getBdt03().hashCode() );
				  result = 37 * result + (getBbx01b() == null ? 0 : this.getBbx01b().hashCode() );
				  result = 37 * result + (getBdi01() == null ? 0 : this.getBdi01().hashCode() );
				  result = 37 * result + (getBdt06() == null ? 0 : this.getBdt06().hashCode() );
				  result = 37 * result + (getBdt07() == null ? 0 : this.getBdt07().hashCode() );
				  result = 37 * result + (getBdt08() == null ? 0 : this.getBdt08().hashCode() );
				  result = 37 * result + (getBdt09() == null ? 0 : this.getBdt09().hashCode() );
				  result = 37 * result + (getBdt10() == null ? 0 : this.getBdt10().hashCode() );
         return result;
	} 
	
}
